home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group98b.txt / 000062_icon-group-sender _Wed Jun 3 12:46:07 1998.msg < prev    next >
Internet Message Format  |  2000-09-20  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
  3.     by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id MAA10570
  4.     for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Wed, 3 Jun 1998 12:46:06 -0700 (MST)
  5. Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
  6.     id AA09162; Wed, 3 Jun 1998 12:45:59 -0700
  7. From: gep2@computek.net
  8. Date: Wed, 3 Jun 1998 12:45:30 -0500
  9. Message-Id: <199806031745.MAA31997@axp.cmpu.net>
  10. Mime-Version: 1.0
  11. Content-Type: text/plain
  12. Content-Transfer-Encoding: 7bit
  13. Subject: Re: Directory access facilities
  14. To: icon-group@optima.CS.Arizona.EDU
  15. X-Mailer: SPRY Mail Version: 04.00.06.17
  16. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  17. Status: RO
  18. Content-Length: 929
  19.  
  20. > One might be tempted to use initial failure from dirname() to determine if a
  21. given directory is empty; however, this doesn't work in general, as on some
  22. systems it might not be possible to differentiate between a non-existant
  23. directory and an empty directory.
  24.  
  25. And how about directories which contain entries which you're not allowed to see?
  26.  
  27. > I would also vote against filtering out "." and ".."; dir() should return an
  28. accurate representation of what is in the directory, 
  29.  
  30. Oh, jeez... I don't see ANY value in returning "." at least, whether it's 
  31. "there" (for OS purposes) or not.  What's the point, after all???
  32.  
  33. > ...and not require any special casing (and it is trivial to filter this out at 
  34. a higher level).
  35.  
  36. Trivial doesn't mean anything different, here, than "recurring and familiar 
  37. nuisance".
  38.  
  39. Gordon Peterson
  40. http://www.computek.net/public/gep2/
  41. Support the Anti-SPAM Amendment!  Join at http://www.cauce.org/
  42.  
  43.